/**
*    Copyright (C) 2008  Chase Kernan 
*    chase.kernan@gmail.com
*
*    This program is free software: you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*
*    This program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License
*    along with this program.  If not, see <http://www.gnu.org/licenses/>.
* 
*/

package com.chasekernan.hxnova.core.dataholders;

import com.chasekernan.hxnova.core.components.ComponentSet;
import com.chasekernan.hxnova.server.Game;
import com.chasekernan.hxnova.core.players.Player;

/**
    Holds all information for the client or host.
    Saving this each turn will form the basis for the client history files and 
    the host file.
**/
class Global {
    public static var map : Map;
    public static var stars : StarsHolder;
    public static var players : Players;
    public static var fleets : FleetHolder;
    public static var messages : MessageHandler;
    public static var salvage : SalvageHolder;
    public static var game : Game;
    public static var year : Int;
    
    #if flash9
    public static var player : Player;
    #end
}